package com.dynamicallo.ty.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.dynamicallo.ty.entity.Action;

@Repository(value="actionMapper")
public interface ActionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Action record);

    int insertSelective(Action record);

    Action selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Action record);

    int updateByPrimaryKey(Action record);
    List<Action> getAllAction();
    List<Action> getAllActionByContentId(Integer contentId);
}